<script setup lang="ts">
import BaseHeader from './BaseHeader.vue'
import BaseSidebar from './BaseSidebar.vue'
</script>

<template>
  <div class="h-full flex flex-row overflow-hidden bg-primary text-primary">
    <!-- 侧边 -->
    <BaseSidebar />
    <!-- 主要区域 -->
    <div class="flex flex-1 flex-col" style="min-width: 0px;">
      <!-- 顶部 -->
      <BaseHeader class="h-12" />
      <!-- 主要区域 -->
      <div class="flex-1 overflow-auto bg-secondary p-3">
        <RouterView />
      </div>
    </div>
  </div>
</template>
